package com.ruoyi.moon.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言反馈对象 moon_leave_message
 * 
 * @author ruoyi
 * @date 2024-12-16
 */
public class MoonLeaveMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 留言标题 */
    @Excel(name = "留言标题")
    private String messageTitle;

    /** 留言类型 */
    @Excel(name = "留言类型")
    private String messageType;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String messageContents;

    /** 留言者ip */
    @Excel(name = "留言者ip")
    private String messageIp;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMessageTitle(String messageTitle) 
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle() 
    {
        return messageTitle;
    }
    public void setMessageType(String messageType) 
    {
        this.messageType = messageType;
    }

    public String getMessageType() 
    {
        return messageType;
    }
    public void setMessageContents(String messageContents) 
    {
        this.messageContents = messageContents;
    }

    public String getMessageContents() 
    {
        return messageContents;
    }
    public void setMessageIp(String messageIp) 
    {
        this.messageIp = messageIp;
    }

    public String getMessageIp() 
    {
        return messageIp;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messageTitle", getMessageTitle())
            .append("messageType", getMessageType())
            .append("messageContents", getMessageContents())
            .append("messageIp", getMessageIp())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("nickName", getNickName())
            .toString();
    }
}
